COMPILER=gcc

all: app-sandboxer

app-sandboxer: monitor.o controller.o policy_checker.o
	${COMPILER} monitor.o controller.o policy_checker.o -o app-sandboxer

#app-sandboxer: controller.o policy_checker.o
#${COMPILER} controller.o policy_checker.o -o app-sandboxer

monitor.o: monitor.c
	${COMPILER} monitor.c -c 

controller.o: controller.c
	${COMPILER} controller.c -c 

policy_checker.o: policy_checker.c
	${COMPILER} policy_checker.c -c 

clean:
	rm -f *.o app-sandboxer